-->
// Remove video if any field is changed
// If all fields are filled, fetch and display the video
// Preserve selected lecture type
var selectedLecture = $('#lecture').val(); // Store the selected lecture
// Restore previous selection if it exists
// Event listeners for dropdown changes
preserveLectureSelection(); // Keep lecture type unchanged
preserveLectureSelection(); // Keep lecture type unchanged
preserveLectureSelection(); // Keep lecture type unchanged